

<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<%
    {
        String R = request.getServletContext().getContextPath();
        System.out.println("llll:"+R);
        String tmp = request.getParameter("name");
        String template = R+"/WEB-INF/views/"+tmp+"/template.jsp";
        String style = R+"/WEB-INF/views/"+tmp+"/style.jsp";
        String script = R+"/WEB-INF/views/"+tmp+"/script.jsp";

%>

<jsp:include page="<%=template%>"></jsp:include>
<jsp:include page="<%=style%>"></jsp:include>
<jsp:include page="<%=script%>"></jsp:include>
<%
    }
%>
